(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[546],{640:function(e,t,n){"use strict";var r=n(1742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,s,c,a,l,u,h,d=!1;t||(t={}),s=t.debug||!1;try{if(a=r(),l=document.createRange(),u=document.getSelection(),(h=document.createElement("span")).textContent=e,h.ariaHidden="true",h.style.all="unset",h.style.position="fixed",h.style.top=0,h.style.clip="rect(0, 0, 0, 0)",h.style.whiteSpace="pre",h.style.webkitUserSelect="text",h.style.MozUserSelect="text",h.style.msUserSelect="text",h.style.userSelect="text",h.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=o[t.format]||o.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(h),l.selectNodeContents(h),u.addRange(l),!document.execCommand("copy"))throw Error("copy command was unsuccessful");d=!0}catch(r){s&&console.error("unable to copy using execCommand: ",r),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0}catch(r){s&&console.error("unable to copy using clipboardData: ",r),s&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",c=n.replace(/#{\s*key\s*}/g,i),window.prompt(c,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(l):u.removeAllRanges()),h&&document.body.removeChild(h),a()}return d}},2815:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/author/[[...slug]]",function(){return n(2252)}])},2778:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(5893),o=n(3756),i=n.n(o),s=n(1664),c=n.n(s),a=n(7217),l=n.n(a),u=n(5415),h=n(4101),d=e=>{let{vectors:t,loading:n,slug:o,count:i}=e;Array.apply(null,Array(8));let s=(0,h.Z)(o?o.replace(/-/g," ")+" ":"");return(0,r.jsx)("div",{className:l().Collection,children:(0,r.jsx)(c(),{href:o?"/collection/".concat(o,"/"):"#",title:"List ".concat(s,"SVG Collection"),children:(0,r.jsxs)("div",{className:l().CollectionImages,children:[(0,r.jsx)("div",{className:l().CollectionImageListing,children:t&&t.map((e,t)=>(0,r.jsxs)("div",{className:l().CollectionVector,src:e.url,children:[n&&(0,r.jsx)(u.Z,{}),(0,r.jsx)("img",{alt:e.title,src:"/show/".concat(e.id,"/").concat(e.title,".svg")})]},t))}),(0,r.jsxs)("div",{className:l().title,children:[s,"Collection ",(0,r.jsx)("span",{children:i})]})]})})})};function f(e){let{collections:t,loading:n,keyPostfix:o,sentUrl:s,style:c}=e;return t?(0,r.jsx)("div",{className:i().collectionListing,style:c,children:t.map((e,t)=>(0,r.jsx)(d,{vectors:!!e&&e.preview,loading:n,slug:!!e&&e.slug,count:e?e.count:"50"},t+"-"+o))}):null}},5415:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(5893),o=n(6057),i=n.n(o);function s(){return(0,r.jsx)("div",{className:i().loading})}},9831:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(5893);n(1664);var o=n(5675),i=n.n(o),s=n(952),c=n.n(s);function a(e){let{title:t,description:n,children:o}=e;return(0,r.jsxs)("div",{className:c().nothing,children:[(0,r.jsx)(i(),{src:"/illustrations/empty.png",width:100,height:100,alt:"Empty saved bucket"}),(0,r.jsx)("h2",{children:t}),(0,r.jsx)("p",{children:n}),o]})}},3287:function(e,t,n){"use strict";var r=n(5893);n(7294);var o=n(4400),i=n.n(o),s=n(1664),c=n.n(s);t.Z=e=>{let{listing:t,slug:n,type:o,page:s,count:a,num:l,loadingFunction:u}=e,h=Math.ceil(a/(l=l||50)),d="/".concat(t,"/").concat(n,"/").concat(o);return n||(d="/".concat(t,"/")),(0,r.jsx)("div",{className:i().paging,children:(0,r.jsxs)("div",{className:i().pagingCarrier,children:[(0,r.jsxs)("div",{children:[1!=s&&(0,r.jsx)(c(),{href:Number(s)-1==1?d:"".concat(d.endsWith("/")?d:d+"/").concat(Number(s)-1),title:"Previous Page",onClick:u,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"#8899a4",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"arcs",children:(0,r.jsx)("path",{d:"M15 18l-6-6 6-6"})})}),1==s&&(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"#ccc",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"arcs",children:(0,r.jsx)("path",{d:"M15 18l-6-6 6-6"})})]}),(0,r.jsxs)("span",{children:[(0,r.jsxs)("span",{style:{fontWeight:400},children:["Page ",s]})," / ",h]}),(0,r.jsxs)("div",{children:[s!=Math.ceil(a/l)&&(0,r.jsx)(c(),{href:"".concat(d.endsWith("/")?d:d+"/").concat(Number(s)+1),title:"Next Page",onClick:u,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"#8899a4",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"arcs",children:(0,r.jsx)("path",{d:"M9 18l6-6-6-6"})})}),s==Math.ceil(a/l)&&(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"#ccc",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"arcs",children:(0,r.jsx)("path",{d:"M9 18l6-6-6-6"})})]})]})})}},233:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(5893),o=n(1664),i=n.n(o),s=n(5675),c=n.n(s),a=n(5601),l=n.n(a),u=n(4101),h=n(1163);function d(e){let{rootPath:t}=e,n=(0,h.useRouter)(),o=e=>"all"==e?!n.asPath.includes("monocolor")&&!n.asPath.includes("multicolor")&&!n.asPath.includes("outlined")&&!n.asPath.includes("filled")&&!n.asPath.includes("duotone")&&!n.asPath.includes("icon")&&!n.asPath.includes("glyph")&&!n.asPath.includes("rounded")&&!n.asPath.includes("sharp"):n.asPath.includes("/".concat(e,"/"));"native-flex-".concat(n.asPath.split("/")[1],"-").concat(n.asPath.split("/")[2]);let s=e=>(0,r.jsx)("li",{className:o(e)?l().active:l().tab,children:(0,r.jsxs)(i(),{href:"".concat(t).concat(e,"/"),children:[(0,r.jsx)(c(),{src:"/types/".concat(e,".svg"),width:18,height:18,alt:(0,u.Z)(e)+" Vectors"}),(0,r.jsx)("span",{children:(0,u.Z)(e)})]})});return(0,r.jsx)("div",{className:l().tabs,children:(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{className:o("all")?l().active:l().tab,children:(0,r.jsxs)(i(),{href:"".concat(t),children:["All",(0,r.jsx)("span",{style:{marginLeft:4},children:"Styles"})]})}),s("monocolor"),s("multicolor"),s("duotone"),s("outlined"),s("filled"),s("icon"),s("glyph"),s("rounded"),s("sharp")]})})}},4101:function(e,t,n){"use strict";function r(e){for(var t=(e=e.replace(/-/g," ")).toLowerCase().split(" "),n=0;n{u(!0),_()('Vectors and icons by ').concat(t," in ").concat(i,' License via SVG Repo')),setTimeout(()=>{u(!1)},2e3)};return(0,r.jsxs)("div",{className:y().attribute,children:[(0,r.jsx)(a(),{src:"/illustrations/error.png",width:100,height:100,alt:"Attribution"}),(0,r.jsx)("div",{style:{width:30}}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{children:"Attribute The Author"}),(0,r.jsxs)("p",{children:["Feel free to visit this ",(0,r.jsx)("a",{href:n+"?ref=svgrepo.com",target:"_blank",rel:"noreferrer",children:"author's website"}),". And attribute their work depending on the listed license. The last used license was ",(0,r.jsxs)(s(),{href:"/page/licensing#".concat(i),children:[i," License"]}),"."]}),(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"button buttonActive",onClick:()=>h(),style:{background:l?"#56ab78":"#3276c3",width:250},children:[(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#0094dd",strokeWidth:"2",strokeLinecap:"square",strokeLinejoin:"arcs",children:[(0,r.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,r.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),(0,r.jsx)("span",{children:l?"Copied!":"Copy Attribution"})]})}),c]})]})}var b=n(3287),j=!0;function L(e){let{results:t,type:n,page:i}=e,[s,c]=(0,o.useState)(!1),a=(0,l.useRouter)();(0,o.useEffect)(()=>{let e=e=>{window.scrollTo(0,0),c(!0)},t=()=>{c(!1)};return a.events.on("routeChangeStart",e),a.events.on("routeChangeComplete",t),()=>{a.events.off("routeChangeStart",e),a.events.off("routeChangeComplete",t)}},[a]);let m=(0,u.Z)(n.replace(/-/g," "));return(0,r.jsxs)(h.Z,{children:[(0,r.jsx)(d.Z,{title:"Collections by ".concat(m).concat(1!=i?" - PAGE ".concat(i):""),description:"Browse vectors and icons created by ".concat(m,". Browse ").concat(t.count," icons and vector packs created by ").concat(m,"."),canonical:"/author/".concat(n,"/").concat(1!=i?i:"")}),(0,r.jsx)(f.Z,{links:[{title:"Home",link:"/"},{title:"Authors",link:"/collections/"},{title:m,link:"/author/".concat(n,"/")}]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("h1",{children:["Author: ",m," ",1!=i&&(0,r.jsxs)("span",{children:["PAGE ",i]})]}),(0,r.jsxs)("p",{className:"subtext",children:["Vectors and icons created by ",m," listed on SVG Repo. Browse ",t.count," icons and vector packs created by ",m,"."]})]}),t.collections.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w,{author:m,authorLink:t.collections[0].license_link,defaultLicense:t.collections[0].license}),(0,r.jsx)(p.Z,{collections:t.collections,keyPostfix:i,loading:s}),(0,r.jsx)(v.Z,{id:"native-author-".concat(n,"-").concat(i),fallbackCarbon:!0}),(0,r.jsx)(b.Z,{listing:"author",slug:n,type:"",page:i,num:9,count:t.count})]}),0==t.collections.length&&(0,r.jsx)(g.Z,{title:"No Collections by this author",description:"No Results found for this author. Try another term or search on entire website."}),(0,r.jsx)("h2",{style:{height:0,overflow:"hidden",padding:0,margin:0},children:"Similar Authors"})]})}let C={runtime:"experimental-edge"}},5293:function(e){!function(){"use strict";var t={864:function(e){var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise(function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}v(e,t,i,{once:!0}),"error"!==t&&"function"==typeof e.on&&v(e,"error",o,{once:!0})})},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function c(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){if(c(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),s=i[t]),void 0===s)s=i[t]=n,++e._eventsCount;else if("function"==typeof s?s=i[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(o=a(e))>0&&s.length>o&&!s.warned){s.warned=!0;var o,i,s,l=Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,console&&console.warn&&console.warn(l)}return e}function u(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=u.bind(r);return o.listener=n,r.wrapFn=o,o}function d(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=Array(e.length),n=0;n0&&(s=t[0]),s instanceof Error)throw s;var s,c=Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var a=i[e];if(void 0===a)return!1;if("function"==typeof a)r(a,this,t);else for(var l=a.length,u=p(a,l),n=0;n=0;i--)if(n[i]===t||n[i].listener===t){s=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return d(this,e,!0)},i.prototype.rawListeners=function(e){return d(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},i.prototype.listenerCount=f,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},s=!0;try{t[e](i,i.exports,r),s=!1}finally{s&&delete n[e]}return i.exports}r.ab="//";var o=r(864);e.exports=o}()},5180:function(e){e.exports={attribute:"style_attribute__8YAoG"}},7217:function(e){e.exports={Collection:"style_Collection__pbtoU",CollectionImages:"style_CollectionImages__HaFfn",CollectionImageListing:"style_CollectionImageListing__ME77D",CollectionVector:"style_CollectionVector__2ns4P",title:"style_title__556fI",loadingHolder:"style_loadingHolder__6MZYh"}},3756:function(e){e.exports={collectionListing:"style_collectionListing__7_icr"}},6057:function(e){e.exports={loading:"style_loading__ImzqA"}},952:function(e){e.exports={nothing:"style_nothing__0Nb57"}},4400:function(e){e.exports={paging:"style_paging__UI_l6",pagingCarrier:"style_pagingCarrier__NVbHL"}},5601:function(e){e.exports={tabs:"style_tabs__alrEX",active:"style_active__6083f"}},1742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r